package remote.skins.brushes
{
	
	/**
	 * 单色画笔, 定义和笔触有关的属性
	 * 填充和笔触类，对应flash cs里的填充和笔触
	 * @author 徐俊杰
	 * @createTime 2011-1-5
	 * @version 1.0
	 * */
	public class SolidBrush
	{
		private var _backgroundColor:uint;				//填充颜色
		private var _backgroundAlpha:Number;
		private var _borderColor:uint;					//笔触
		private var _borderAlpha:Number;
		private var _borderThickness:Number;			//笔触厚度
		
		/**
		 * 实例化单色画笔 
		 * @param backgroundColor 背景色
		 * @param backgroundAlpha 背景透明度
		 * @param borderColor 边框颜色
		 * @param borderAlpha 边框透明度
		 * @param borderThickness 边框粗细
		 * 
		 */		
		public function SolidBrush(backgroundColor:uint, backgroundAlpha:Number, 
									   borderColor:uint, borderAlpha:Number, borderThickness:Number)
		{
			_backgroundColor = backgroundColor;
			_backgroundAlpha = backgroundAlpha;
			_borderColor = borderColor;
			_borderAlpha = borderAlpha;
			_borderThickness = borderThickness;
			
		}
		
		/**
		 * 背景色 
		 * 
		 */		
		public function get backgroundColor():uint
		{
			return _backgroundColor;
		}
		
		public function set backgroundColor(value:uint):void
		{
			_backgroundColor = value;
		}
		
		/**
		 * 背景透明度 
		 * 
		 */		
		public function get backgroundAlpha():Number
		{
			return _backgroundAlpha;
		}

		public function set backgroundAlpha(value:Number):void
		{
			_backgroundAlpha = value;
		}

		/**
		 * 边框颜色 
		 * 
		 */		
		public function get borderColor():uint
		{
			return _borderColor;
		}

		public function set borderColor(value:uint):void
		{
			_borderColor = value;
		}

		/**
		 * 边框透明度 
		 * 
		 */		
		public function get borderAlpha():Number
		{
			return _borderAlpha;
		}

		public function set borderAlpha(value:Number):void
		{
			_borderAlpha = value;
		}

		/**
		 * 边框粗细度 
		 * 
		 */		
		public function get borderThickness():Number
		{
			return _borderThickness;
		}

		public function set borderThickness(value:Number):void
		{
			_borderThickness = value;
		}

	}
}